#ifndef CALCULATOR_H
#define CALCULATOR_H

class Calculator {
public:
    int add(int a, int b);
    int subtract(int a, int b);
    int multiply(int a, int b);
    double divide(double a, double b);
    
private:
    void log_operation(const char* operation, double result);
};

// Utility functions
int factorial(int n);
int power(int base, int exponent);

#endif // CALCULATOR_H
